SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}Calonge{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}' OR prCity = 'Calonge' OR prZip = 'Calonge' OR prStreet LIKE '{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}Calonge{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}' OR prCountry = 'Calonge') AND (prLocation LIKE '{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}Spain{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}Spain{b5aa75a0f32931127436c0de725d7009ff9d82fce201b4e67a2d8cf310a0df38}' OR prCountry = 'Spain')